package dao;

import entity.Admin;

import java.util.List;

public interface AdminDao {
    public int addAdmin(Admin admin);
    public int updAdmin(Admin admin);
    public int delAdminById(Integer id);
    public List<Admin> findAllAdmin();
    public Admin findAdminById(Integer id);
    public boolean isExistById(Integer id);
    public Admin login(String name,String pwd);
}
